package com.sinder.campus_prophet.service.general;

import com.sinder.campus_prophet.core.global.ResponseMessage;
import com.sinder.campus_prophet.entity.general.TbWxUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sinder.campus_prophet.service.general.bean.dto.RegisterUserDto;
import com.sinder.campus_prophet.service.general.bean.dto.UpUserInfoDto;

/**
* @author XYD
* @description 针对表【tb_wx_user(微信用户授权表)】的数据库操作Service
* @createDate 2023-03-15 23:11:26
*/
public interface TbWxUserService extends IService<TbWxUser> {
    /* 授权注册登录 */
    ResponseMessage registerUser(RegisterUserDto registerUser);
    /*获取个人标识*/
    ResponseMessage getUserCode(String openId);
    /*编辑个人信息*/
    boolean updateUserInfo(UpUserInfoDto userDto);
    /*获取用户信息*/
    ResponseMessage getUserInfo(String openId);
}
